
<div class="col-md-3 left_col">
    <div class="left_col scroll-view">
        <div class="navbar nav_title" style="border: 0;">
            <a  class="site_title"><i id="genarate" style="cursor: pointer" class="fa fa-paw"></i> <span>{:cache('web_name')}</span></a>
        </div>

        <div class="clearfix"></div>

        <!-- menu profile quick info -->
        <div class="profile clearfix">
            <div class="profile_pic">
                <img src="__CONSOLE__/production/images/img.jpg" alt="..." class="img-circle profile_img">
            </div>
            <div class="profile_info">
                <span>Welcome,</span>
                <h2>{:session('admin_name')}</h2>
            </div>
        </div>
        <!-- /menu profile quick info -->

        <br />

        <!-- sidebar menu -->
        <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
            <div class="menu_section">

                <h3>General</h3>
                <ul class="nav side-menu">
                    {volist name="pri_data" id="vo"}

                    <li {php}if(
                        in_array(
                        request()->controller(),explode(',',$vo['url'])
                        )
                        ) echo 'class="active"';{/php}><a><i class="fa {$vo.icon}"></i> {$vo.pri_name} <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu" {php}if(
                            in_array(
                            request()->controller(),explode(',',$vo['url'])
                            )
                            ) echo 'style="display:block;"';{/php}>
                            {volist name="vo.son" id="vo1"}
                            <li><a href="{:url($vo1.url,['rand' => rand(1,100)])}">{$vo1.pri_name}</a></li>
                            {/volist}
                        </ul>
                    </li>
                    {/volist}
                    <!--<li><a href="javascript:void(0)"><i class="fa fa-laptop"></i> Landing Page <span class="label label-success pull-right">Coming Soon</span></a></li>-->
                </ul>
            </div>

        </div>
        <!-- /sidebar menu -->

        <!-- /menu footer buttons -->
        <!--<div class="sidebar-footer hidden-small">-->
            <!--<a data-toggle="tooltip" data-placement="top" title="Settings">-->
                <!--<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>-->
            <!--</a>-->
            <!--<a data-toggle="tooltip" data-placement="top" title="FullScreen">-->
                <!--<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>-->
            <!--</a>-->
            <!--<a data-toggle="tooltip" data-placement="top" title="Lock">-->
                <!--<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>-->
            <!--</a>-->
            <!--<a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">-->
                <!--<span class="glyphicon glyphicon-off" aria-hidden="true"></span>-->
            <!--</a>-->
        <!--</div>-->
        <!-- /menu footer buttons -->
    </div>
</div>
<script>
    $('#genarate').click(function () {
        var url = "{:url('Generate/index')}";
        window.open(url,"_blank");
        window.location.href = url;
    });
</script>
